/* part1test.c
 * test the syscall for the lock and condition
 */
#include "theater.h"


void SMT2()
{
    int i;
    int value;
    char * mvname1="SMT1";
    i=createMV(mvname1);

    if(i!=-1)
        Printf("rpctests3 :SMT1 create it succussfully, return %d \n",i);
    else
    {
        Printf("rpctests3 :SMT1 could not create it, return %d\n",i);
    }
    value=getMV(mvname1);
    Printf("rpctest3 :get the mv %d  the value %d \n ", i,value);
    rpcDeleteMV(mvname1,4);



}


int main()
{
    RT1LO1();
    SMT2();
    Exit(0);
}

